<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="taglib.jsp"%>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=rLGL1zY2wdGtm89uv9b8wf5qGECheHyh"></script>
<jsp:include page="header.jsp"></jsp:include>
<div class="container">
    <div class="panel panel-default">
        <!-- Default panel contents -->
        <div class="panel-heading">工程</div>

        <!-- Table -->
        <table class="table" style="text-align: center">
            <tr>
                <td>#</td>
                <td>ID</td>
                <td>名称</td>
                <td>工程编号</td>
            </tr>
            <c:forEach items="${projects}" var="p" varStatus="status">
                <tr>
                    <td>${status.count}</td>
                    <td>${p.id}</td>
                    <td>${p.name}</td>
                    <td>${p.projectId}</td>
                </tr>
            </c:forEach>
        </table>
    </div>

    <div id="l-map" style="width: 100%;height: 100%;"></div>
    <div id="r-result">
        <input type="button" value="地址解析" onclick="bdGEO(0)" />
        <div id="result"></div>
    </div>
</div>
<jsp:include page="footer.jsp"></jsp:include>

<script src="/assets/js/showMap.js"></script>
<script>
    var map = new showMap();
</script>
